﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage1.master" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            text-align: right;
        }
        .style2
        {
            height: 20px;
            text-align: center;
        }
        .style4
        {
            height: 23px;
            text-align: center;
        }
        .style5
        {
            text-align: right;
            width: 49%;
        }
        .style6
        {
            width: 49%;
        }
        .style7
        {
            text-align: right;
            width: 49%;
            height: 20px;
        }
        .style8
        {
            height: 20px;
        }
        .style9
        {
            text-align: center;
        }
        .style10
        {
            color: #FF0000;
        }
        .style11
        {
            height: 58px;
            text-align: center;
        }
        .style12
        {
            text-align: right;
            width: 49%;
            height: 26px;
        }
        .style13
        {
            height: 26px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style =" width:100%">
    <table style =" width:100%">
        <tr>
            <td class="style5" >
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style5" >
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style5" >
                <span class="style10">*</span><asp:Label ID="Label1" runat="server" Text="用户名："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" ontextchanged="TextBox1_TextChanged"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="TextBox1" ErrorMessage="不能为空" 
                    style="font-size: small; color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style5" >
                    &nbsp;</td>
            <td>
                    &nbsp;</td>
        </tr>
        <tr>
            <td class="style12" >
                <span class="style10">*</span><asp:Label ID="Label2" runat="server" Text="密码："></asp:Label>
            </td>
            <td class="style13">
                <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="TextBox2" ErrorMessage="不能为空" 
                    style="font-size: small; color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style5" >
                    &nbsp;</td>
            <td>
                    &nbsp;</td>
        </tr>
        <tr>
            <td class="style5" >
                <asp:Label ID="Label3" runat="server" Text="确认密码："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox3" runat="server" TextMode="Password"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="TextBox2" ControlToValidate="TextBox3" ErrorMessage="密码不一致" 
                    style="font-size: small; color: #FF0000"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="style7" >
                    </td>
            <td class="style8">
                    </td>
        </tr>
        <tr>
            <td class="style5" >
                <span class="style10">*</span><asp:Label ID="Label4" runat="server" Text="姓名："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="TextBox4" ErrorMessage="不能为空" 
                    style="font-size: small; color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style5" >
                    &nbsp;</td>
            <td>
                    &nbsp;</td>
        </tr>
        <tr>
            <td class="style5" >
                <asp:Label ID="Label5" runat="server" Text="性别："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style7" >
                    </td>
            <td class="style8">
                    </td>
        </tr>
        <tr>
            <td class="style5" >
                <span class="style10">*</span><asp:Label ID="Label6" runat="server" Text="手机号："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="TextBox6" ErrorMessage="不能为空" 
                    style="font-size: small; color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style6" >
            </td>
            <td >
            </td>
        </tr>
        <tr>
            <td class="style4" colspan="2" height="30px" >
                <asp:DropDownList ID="DropDownList1" runat="server" Height="30px" 
                        style="margin-left: 60px" Width="20%" DataSourceID="LinqDataSource1" 
                    DataTextField="questions" DataValueField="serial_number">
                </asp:DropDownList>
                <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
                    ContextTypeName="DataClassesDataContext" EntityTypeName="" TableName="question">
                </asp:LinqDataSource>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="style9" >
                    &nbsp;</td>
        </tr>
        <tr>
            <td class="style4" colspan="2" >
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox7" runat="server" style="margin-left: 60px" Width="20%" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="TextBox7" ErrorMessage="不能为空" 
                    style="font-size: small; color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style2" colspan="2" >
            </td>
        </tr>
        <tr>
            <td class="style11" colspan="2" >
                <asp:DropDownList ID="DropDownList2" runat="server" Height="30px" 
                        style="margin-left: 60px" Width="20%" DataSourceID="LinqDataSource1" 
                    DataTextField="questions" DataValueField="serial_number">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="style2" colspan="2" >
                    &nbsp;</td>
        </tr>
        <tr>
            <td class="style9" colspan="2" >
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="TextBox8" runat="server" style="margin-left: 60px" Width="20%"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="TextBox8" ErrorMessage="不能为空" 
                    style="font-size: small; color: #FF0000"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style2" colspan="2" >
                    &nbsp;</td>
        </tr>
        <tr>
            <td class="style2" colspan="2" >
                <asp:Button ID="Button1" runat="server" Height="25px" Text="确认" Width="52px" />
            </td>
        </tr>
    </table>
    </div>
</asp:Content>

